﻿Imports Fgv.Framework.UI
Imports LS.Leilao.Dominio
Imports LS.Leilao.Negoc

Partial Class _Default
    Inherits BasePage

#Region "Atributos da pagina"

#End Region

#Region "Delegates"

    Protected Delegate Sub PageDelegate()

#End Region

#Region "Classes Injetadas"

    Private _CRMNegoc As ICRMNegoc
    Public Property CRMNegoc() As ICRMNegoc
        Get
            Return _CRMNegoc
        End Get
        Set(ByVal value As ICRMNegoc)
            _CRMNegoc = value
        End Set
    End Property

#End Region

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Me.DataBindGridEntidade()

        If Not IsPostBack Then

        End If

    End Sub

#Region "Funcoes de Databind"

    Protected Sub DataBindGridEntidade()

        Dim _setor As SetorNegocio
        Dim _clientes As IList(Of Cliente)
        Dim _nomeLike As String


        _nomeLike = "A"
        _clientes = Me.CRMNegoc.BuscarClientesPorNomeLike(_setor, _nomeLike)

        GridFormularios.DataSource = _clientes
        GridFormularios.DataBind()

    End Sub

#End Region

#Region "Operacoes do Usuario"

#End Region

#Region "Classes Auxiliares"

#End Region

End Class




